Skip to content

Conversation

soham2560
Copy link
Contributor

@soham2560 soham2560 commented Aug 27, 2025

Brief

In #2476 we added our changes to allow Hardware Interfaces to publish HardwareStatus messages with a default publisher. This PR adds a CLI verb to help users access those statuses easily using

ros2 control view_hardware_status -i <hardware_component> -d <device>

How was this tested?

ros2 launch ros2_control_demo_example_17 rrbot.launch.xml

- Echo all messages on */hardware_status topics with control_msgs/msg/hardware_status type

ros2 control view_hardware_status
Output image

- Filter with -i <hardware_component>

ros2 control view_hardware_status -i RRBot
Output image

- Filter with -d <device_name>

ros2 control view_hardware_status -i RRBot -d joint1
Output image

Copy link

codecov bot commented Aug 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.37%. Comparing base (c993e5b) to head (b8b4831).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2495      +/-   ##
==========================================
- Coverage   89.40%   89.37%   -0.03%     
==========================================
  Files         151      151              
  Lines       17024    17025       +1     
  Branches     1420     1420              
==========================================
- Hits        15220    15216       -4     
- Misses       1250     1256       +6     
+ Partials      554      553       -1     
Flag Coverage Δ
unittests 89.37% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bmagyar
Copy link
Member

bmagyar commented Aug 27, 2025

@soham2560 could you please update the OP with some example outputs?

@soham2560
Copy link
Contributor Author

@bmagyar done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants